package com.lovenote.common.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户栏目实体对象
 * 
 * @author xingkong1221
 *
 */
@Entity
@Table(name = "common_user_profile")
public class UserProfile implements Serializable {
	
	private static final long serialVersionUID = 5664371007256679536L;

	@Id
	@Column(name = "id", length = 10)
	private long id;
	
	@Column(name = "realname", nullable = false, length = 30)
	private String realname;
	
	@Column(name = "gender", nullable = false, length = 1)
	private int gender;
	
	@Column(name = "mobile", nullable = false, length = 20)
	private String mobile;
	
	@Column(name = "age", nullable = false, length = 3)
	private int age;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
}
